package com.catbad.mapper;

import com.catbad.domain.Film;
import com.catbad.domain.Play;

import java.util.List;
import java.util.Map;

public interface PlayMapper {
    int deleteByPrimaryKey(Long pid);

    int insert(Play record);

    Play selectByPrimaryKey(Long pid);

    List<Play> selectAll();

    int updateByPrimaryKey(Play record);

    List<Map<String,Object>> getPlayList(Map<String,Object> params);

    List<Map<String,Object>> getPlayForEditRoom(Map<String,Object> params);

    int deletePlayForTime(Map<String,Object> params);

    int savePlay(Map<String,Object> params);
}